<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:82:"/www/wwwroot/8.136.131.81/public/../application/admin/view/mredis/index/index.html";i:1607565516;s:68:"/www/wwwroot/8.136.131.81/application/admin/view/layout/default.html";i:1602168705;s:65:"/www/wwwroot/8.136.131.81/application/admin/view/common/meta.html";i:1602168705;s:67:"/www/wwwroot/8.136.131.81/application/admin/view/common/script.html";i:1602168705;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">
<meta name="referrer" content="never">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<?php if(\think\Config::get('fastadmin.adminskin')): ?>
<link href="/assets/css/skins/<?php echo \think\Config::get('fastadmin.adminskin'); ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">
<?php endif; ?>

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>

    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !\think\Config::get('fastadmin.multiplenav') && \think\Config::get('fastadmin.breadcrumb')): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <?php if($auth->check('dashboard')): ?>
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                    <?php endif; ?>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <style>
    .tree{
        max-height:calc(90vh);
        overflow: auto;
        overflow-x: hidden;
    }
</style>
<div id="tree" class="col-xs-4 col-sm-4 tree"></div>

<!--string-->
<div class="panel panel-default col-xs-8 col-sm-8 string" hidden style="padding:0%">
    <div class="panel-heading">
        <h3 class="panel-title p-title">key</h3>
    </div>
    <div class="panel-body">
        <form id="add-form" class="form-horizontal" role="form" data-toggle="validator"
            method="POST" action="mredis/index/updateValue">
            <input id="c-db" class="form-control c-db" style="display: none;" name="db" type="text">
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2">STRING:</label>
                <div class="col-xs-2 col-sm-2">
                    <input id="c-key" class="form-control c-key" readonly name="key" type="text">
                </div>
                <div class="col-xs-8 col-sm-8">
                    TTL:<label id="ttl" class="ttl"> </label>
                    <button type="button" class="btn btn-default btn-embossed rds_rename">Rename</button>
                    <button type="button" class="btn btn-default btn-embossed rds_del">删除</button>
                    <button type="button" class="btn btn-default btn-embossed rds_ttl">设置TTL</button>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2">Value:</label>
                <div class="col-xs-10 col-sm-10">
                    <textarea id="c-value" name="value" style="width: 100%;" rows="10"></textarea>
                </div>
            </div>
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-success btn-embossed">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>
<!--Set list-->
<div class="panel panel-default col-xs-8 col-sm-8 set" hidden style="padding:0%">
    <div class="panel-heading">
        <h3 class="panel-title p-title">key</h3>
    </div>
    <div class="panel-body">
        <form id="add-form" class="form-horizontal" role="form" data-toggle="validator"
            method="POST" action="mredis/index/updateValue">
            <input id="c-db" class="form-control c-db" style="display: none;" name="db" type="text">

            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2 type-lb">SET:</label>
                <div class="col-xs-2 col-sm-2">
                    <input id="c-key" class="form-control c-key" readonly name="key" type="text">
                </div>
                <div class="col-xs-8 col-sm-8">
                    Size:<label id="size"  class="size"> </label>
                    &nbsp;&nbsp;TTL:<label id="ttl"  class="ttl"> </label>
                    <button type="button" class="btn btn-default btn-embossed rds_rename">Rename</button>
                    <button type="button" class="btn btn-default btn-embossed rds_del">删除</button>
                    <button type="button" class="btn btn-default btn-embossed rds_ttl">设置TTL</button>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2"></label>
                <div class="col-xs-10 col-sm-10">
                    <select  multiple="true" style="width: 100%;height: 200px;" id='set-list' name="oldvalue">
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2">Value:</label>
                <div class="col-xs-10 col-sm-10">
                    <textarea id="c-value" class="set-value" name="value" style="width: 100%;" rows="10"></textarea>
                </div>
            </div>
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-success btn-embossed">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>

<!--hash-->
<div class="panel panel-default col-xs-8 col-sm-8 hash" hidden style="padding:0%">
    <div class="panel-heading">
        <h3 class="panel-title p-title">key</h3>
    </div>
    <div class="panel-body">
        <form id="add-form" class="form-horizontal" role="form" data-toggle="validator"
            method="POST" action="mredis/index/updateValue">
            <input id="c-db" class="form-control c-db" style="display: none;" name="db" type="text">
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2 type-lb">HASH:</label>
                <div class="col-xs-2 col-sm-2">
                    <input id="c-key" class="form-control c-key" readonly name="key" type="text">
                </div>
                <div class="col-xs-8 col-sm-8">
                    Size:<label id="size"  class="size"> </label>
                    &nbsp;&nbsp;TTL:<label id="ttl"  class="ttl"> </label>
                    <button type="button" class="btn btn-default btn-embossed rds_rename">Rename</button>
                    <button type="button" class="btn btn-default btn-embossed rds_del">删除</button>
                    <button type="button" class="btn btn-default btn-embossed rds_ttl">设置TTL</button>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2"></label>
                <div class="col-xs-10 col-sm-10">
                    <select  multiple="true" style="width: 100%;height: 200px;" id='hash-list'>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2">Key:</label>
                <div class="col-xs-10 col-sm-10">
                    <input id="c-hash-key" class="form-control hash-key" readonly name="hash-key" style="width: 100%;" >
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2">Value:</label>
                <div class="col-xs-10 col-sm-10">
                    <textarea id="c-hash-value" class="hash-value" name="value" style="width: 100%;" rows="10"></textarea>
                </div>
            </div>
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-success btn-embossed">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>

<!--zset-->
<div class="panel panel-default col-xs-8 col-sm-8 zset" hidden style="padding:0%">
    <div class="panel-heading">
        <h3 class="panel-title p-title">key</h3>
    </div>
    <div class="panel-body">
        <form id="add-form" class="form-horizontal" role="form" data-toggle="validator"
            method="POST" action="mredis/index/updateValue">
            <input id="c-db" class="form-control c-db" style="display: none;" name="db" type="text">

            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2 type-lb">ZSET:</label>
                <div class="col-xs-2 col-sm-2">
                    <input id="c-key" class="form-control c-key" readonly name="key" type="text">
                </div>
                <div class="col-xs-8 col-sm-8">
                    Size:<label id="size"  class="size"> </label>
                    &nbsp;&nbsp;TTL:<label id="ttl"  class="ttl"> </label>
                    <button type="button" class="btn btn-default btn-embossed rds_rename">Rename</button>
                    <button type="button" class="btn btn-default btn-embossed rds_del">删除</button>
                    <button type="button" class="btn btn-default btn-embossed rds_ttl">设置TTL</button>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2"></label>
                <div class="col-xs-10 col-sm-10">
                    <select  multiple="true" style="width: 100%;height: 200px;" name="zset-key" id='zset-list'>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2">Value:</label>
                <div class="col-xs-10 col-sm-10">
                    <input id="c-zset-value" class="form-control zset-value" readonly name="value" style="width: 100%;">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-2 col-sm-2">Score:</label>
                <div class="col-xs-10 col-sm-10">
                    <input id="c-zset-score" class="form-control zset-score" name="zset-score" type="number" step="1">
                    </div>
            </div>
           
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-success btn-embossed">保存</button>
                </div>
            </div>
        </form>
    </div>
</div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo htmlentities($site['version']); ?>"></script>
    </body>
</html>
